﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    public class PB_ProductionDataListDTO : PB_OutsourcingBill
    {

        /// <summary>
        /// 仓库Id
        /// </summary>
        public string StorId { get; set; }
        /// <summary>
        /// 工程名称
        /// </summary>
        public string ProdName { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 外协名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 任务单名称
        /// </summary>
        public string OrderName { get; set; }

        public List<PB_OutsourcingBillDetailDTO> OutsourcingBillDetail { get; set; }
        /// <summary>
        /// 签收明细
        /// </summary>
        public List<SignOutsourcingBillDetailDTO> SignOutsourcingBillDetail { get; set; }
    }



    /// <summary>
    /// 外包回货签收
    /// </summary>
    public class SignOutsourcingBillDetailDTO
    {

        /// <summary>
        /// 外包订单明细ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public string MaterialId { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public string Spec { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public Double? Qty { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public Double Price { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 理论重量
        /// </summary>
        public Double? Weight { get; set; }

        /// <summary>
        /// 外包回货的已签收数量
        /// </summary>
        public Double? SignedQuantity { get; set; }

        /// <summary>
        /// 外包订单回货的剩余数量
        /// </summary>
        public Double? Quantity { get; set; }

    }
}




